#include <string>
#include "gmock/gmock.h"
#include "Tweet.h"

TEST(ATweet, RequiresUserToStartWithAtSign)
{
  std::string invalidUser("notStartingWith@");
  ASSERT_ANY_THROW(Tweet tweet("msg", invalidUser));
}